package com.my.zl.console.common.utils.generator.bean;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class CfgTable implements Serializable {

    private static final long serialVersionUID = 1L;
    
    private String tableCode;
    private String tableName;
    private String tableTitle;
    private String tableDesc;
    private String tableJavaCode;
    private String tableJavaFullCode;
    private String tableJavaCode2;
    private String tableAlias;
    private String selectTemplate;
    private String needFlag;
    private String tableType;
    private String tableKeyType;
    private String tableKeyImpl;
    
    /** 自定义标志.  */
    private String customField;
    private String customField2;
    private String customField3;
    private String customField4;
    
    private List<CfgTableRel> tableRels;
    
    private List<CfgTableInterface> sqlInterfaces;
    private Map<String, CfgTableInterface> sqlInterfacesMap;
    
    private Map<String,String> tags;
    
    private List<CfgTableEntity> ownEntity;//自身字段
    private List<CfgTableEntity> primaryEntity;//主键字段
    private List<CfgTableEntity> generalEntity;//一般字段
    private List<CfgTableEntity> otherEntity;//追加字段
    
    private String tableData;//表主体
    private List<CfgTableEntity> whereData;//条件主体
}
